package com.lizhen.core.keyword;

public class Private {
    private String name;

    public static void main(String[] args) {
        Private priv = new Private();
        priv.name = "123";

        System.out.println(priv.name);
    }

    public String getName() {
        System.out.println(name == this.name);
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
